﻿namespace Manon.Core.Commons
{
    /// <summary>
    /// 状态码
    /// </summary>
    public enum StateCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        Ok = 200,

        /// <summary>
        /// 找不到资源
        /// </summary>
        NotFound = 404,

        /// <summary>
        /// 失败
        /// </summary>
        Fail = 500,

        /// <summary>
        /// 系统异常
        /// </summary>
        Error = 500,

        /// <summary>
        /// 业务异常
        /// </summary>
        BusinessError = 501


    }
}
